<?php /* Smarty version Smarty-3.1.11, created on 2013-03-12 13:07:54
         compiled from ".\smarty\templates\error.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9391513a1f17808410-18863433%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c2e139f31d1bf1f7bb9e578d5f66b8489fbd5148' => 
    array (
      0 => '.\\smarty\\templates\\error.tpl',
      1 => 1361446103,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9391513a1f17808410-18863433',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_513a1f179a1d81_96605936',
  'variables' => 
  array (
    'error' => 0,
    'currentPage' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_513a1f179a1d81_96605936')) {function content_513a1f179a1d81_96605936($_smarty_tpl) {?><html>
    <head>
        <title>Error page</title>
    </head>
    <body>
        <div style="padding: 10px;" >
            <?php if (isset($_smarty_tpl->tpl_vars['error']->value)){?>
                <h3><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
</h3>
            <?php }else{ ?>
                <h3>An error occured. Please try searching again.</h3>
            <?php }?>
            
            <?php if (isset($_smarty_tpl->tpl_vars['currentPage']->value)){?>
                <a href="<?php echo $_smarty_tpl->tpl_vars['currentPage']->value;?>
">Go back to the previous page</a>
            <?php }else{ ?>
                <a href="./index.php">Go back to search page</a>
            <?php }?>
        </div>
    </body>
</html><?php }} ?>